package com.qing.springcloud.controller;

/**
 * @author caozhipeng
 * @date 2025/7/22
 */

import com.qing.springcloud.model.ChatMessage;
import com.qing.springcloud.service.MessageService;
import jakarta.websocket.OnMessage;
import jakarta.websocket.OnOpen;
import jakarta.websocket.Session;
import jakarta.websocket.server.PathParam;
import jakarta.websocket.server.ServerEndpoint;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 消息同步端点（Netty实现）
 */
@ServerEndpoint("/chat/ws/{userId}")
@Component
public class ChatWebSocket {

    @Autowired
    private MessageService messageService;


}
